travis-ci: cat the test log after successful test runs
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2016 17:23:43 +0000 (17:23 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 29 Nov 2016 14:11:50 +0000 (14:11 +0000)
This lets us see which tests were skipped.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Closes: #600
Approved by: cgwalters

tests/ci-build.sh

index ae52787e0b55d5b11e48b4294acf0c0b0619a63f..675a9a316cc789a34ecee19b0bb7ac8f7d18fbdc 100755 (executable)
@@ -65,6 +65,7 @@ make="make -j${ci_parallel} V=1 VERBOSE=1"
 
 ${make}
 [ "$ci_test" = no ] || ${make} check || maybe_fail_tests
+cat test/test-suite.log || :
 # TODO: if ostree aims to support distcheck, run that too
 
 ${make} install DESTDIR=$(pwd)/DESTDIR
@@ -78,6 +79,8 @@ if [ "$ci_sudo" = yes ] && [ "$ci_test" = yes ]; then
         GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0 \
         ${make} installcheck || \
     maybe_fail_tests
+    cat test/test-suite.log || :
+
     env \
         LD_LIBRARY_PATH=/usr/local/lib \
         GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0 \